Adwaita: specialcase switches and scales for headerbars
authorJakub Steiner <jimmac@gmail.com>
Wed, 6 Jan 2021 12:02:21 +0000 (13:02 +0100)
committerJakub Steiner <jimmac@gmail.com>
Wed, 6 Jan 2021 12:02:21 +0000 (13:02 +0100)
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3504

gtk/theme/Adwaita/_common.scss

index c61c6a8f23e72a93ff8d772f8a92740b900260ab..459f3d1ed45bee08ccff223337164bec234b794b 100644 (file)
@@ -2350,6 +2350,8 @@ switch {
 
   @include focus-ring($offset: 0, $outer: true);
 
+  headerbar & { background-color: darken($dark_fill,8%); } //3504
+
   &:checked {
     color: $selected_fg_color;
     border-color: $switch_borders_color;
@@ -2547,6 +2549,8 @@ treeview.view radio:selected { &:focus, & { @extend %radio; }} // This is a work
   border-radius: 3px;
   background-color: $dark_fill;
 
+  headerbar & { background-color: darken($dark_fill,8%); } //3504
+
   &:disabled {
    background-color: $insensitive_bg_color;
    border-color: $insensitive_borders_color;